fix: Correcting wordpress download links - #15
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bitnami's build revision suffix for the wordpress component isn't stable across patch releases: 7.0.0 was published as wordpress-7.0.0-1-..., but 7.0.1/7.0.2/7.0.3 were all published as wordpress-7.0.3-0-... (revision 0, not 1). The Dockerfile hardcoded -1 for that component, so once renovate bumped WORDPRESS_VERSION past 7.0.0, the curl request 404'd.
Fix
Dockerfile:39: changed the wordpress component suffix from -1-linux-... to -0-linux-....
Renamed and regenerated the checksum files in prebuildfs/opt/bitnami/checksums/ from wordpress-7.0.0-1-...sha256 to wordpress-7.0.3-0-...sha256 (arm64 + amd64), pulling the real checksums from Bitnami's published .sha256 files.
Verified with a full local docker build . — it now downloads, checksums, and unpacks wordpress-7.0.3-0 successfully and the image builds to completion.
One thing to flag: this build-revision suffix is not derivable from WORDPRESS_VERSION alone and can change again on the next Bitnami release, so a future point-release bump could break the same way. Worth keeping in mind if renovate bumps this again unattended.